<include file="Public:header" />
<script type="text/javascript">
	$(function(){
		$('a[rel*=facebox]').facebox();
		$('#file_upload').uploadify({
			'uploader'		: '__PUBLIC__/swf/uploadify.swf',
			'script'		: '/index.php?s=/ajax/upload/',
			'cancelImg'		: '/uploadify/cancel.png',
			'folder'		: '__PUBLIC__/uploads',
			'queueID'		: 'upload_queue',
			'multi'			: true,
			'queueSizeLimit': 5,
			'auto'			: true,
			'onComplete'	: function(event, ID, fileObj, response, data) {
			var str = '<li><input name="images[]" type="text" value="'+response+'" size="50"/> ';
				str += '[<a rel="facebox" title="点击查看图片" href="__PUBLIC__/uploads/'+response+'">预览</a> ]';
				str += 	'[<a class="del_image" iid="'+response+'">删除</a>]</li>';
				$("#image_list").append(str);
				$('a[rel*=facebox]').facebox();
			}
		});
	})
</script> 
<div id="content">

<load href="/Public/js/wufoo.js" /> 

<load href="/Public/css/structure.css" /> 
<load href="/Public/css/form.css" /> 




<div id="container" class="ltr">

<h1 id="logo">
<a href="http://wufoo.com" title="Powered by Wufoo">Wufoo</a>
</h1>

<form method="post" action="__URL__/add">

<header id="header" class="info">
<h2>添加活动</h2>
<div>在此处添加活动信息详情</div>
</header>

<ul>

<li id="foli1" class="notranslate">
<label class="desc" id="title1" for="Field1">
活动名称
</label>
<div>
<input id="Field1" name="name" type="text" class="field text medium" value="" maxlength="255" tabindex="1" onkeyup="" />
</div>
</li><li id="foli3" class="notranslate      ">
<label class="desc" id="title1" for="Field1">
景点照片
</label>
<div>
		<div id="image_list"></div>
		<input id="file_upload" type="file"/>
</div>
</li><li id="foli3" class="notranslate      ">
<label class="desc" id="title3" for="Field3">
活动开始时间
</label>
<div>
<input id="Field3" name="start_time" type="text" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})" class="field text medium" value="" maxlength="255" tabindex="2" onkeyup="" />
</div>
</li><li id="foli4" class="notranslate      ">
<label class="desc" id="title4" for="Field4">
活动结束时间
</label>
<div>
<input id="Field4" name="end_time" type="text" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})" class="field text medium" value="" maxlength="255" tabindex="3" onkeyup="" />
</div>
</li><li id="foli5" class="notranslate      ">
<label class="desc" id="title5" for="Field5">
活动最小人数
</label>
<div>
<input id="Field5" name="min_people" type="text" class="field text medium" value="" maxlength="255" tabindex="4" onkeyup="" />
</div>
</li><li id="foli6" class="notranslate      ">
<label class="desc" id="title6" for="Field6">
活动最多人数
</label>
<div>
<div>
<input id="Field5" name="min_age" type="text" class="field text medium" value="" maxlength="255" tabindex="4" onkeyup="" />
</div>
</li><li id="foli6" class="notranslate      ">
<label class="desc" id="title6" for="Field6">
最大年龄
</label>
<div>
<div>
<input id="Field5" name="min_people" type="text" class="field text medium" value="" maxlength="255" tabindex="4" onkeyup="" />
</div>
</li><li id="foli6" class="notranslate      ">
<label class="desc" id="title6" for="Field6">
最小年龄
</label>
<div>
<input id="Field6" name="max_age" type="text" class="field text medium" value="" maxlength="255" tabindex="5" onkeyup="" />
</div>
</li><li id="foli12" 
class="notranslate      "><label class="desc" id="title12" for="Field12">
活动注意事项
</label>

<div>
<textarea id="Field12" 
name="notice" 
class="field textarea medium" 
spellcheck="true" 
rows="10" cols="50" 
tabindex="6" 
onkeyup=""
 ></textarea>

</div>
</li>
<li id="foli13" 
class="notranslate      "><label class="desc" id="title13" for="Field13">
活动说明
</label>

<div>
<textarea id="Field13" 
name="explain" 
class="field textarea medium" 
spellcheck="true" 
rows="10" cols="50" 
tabindex="7" 
onkeyup=""
 ></textarea>

</div>
</li> <li class="buttons ">
<div>

                    <input id="saveForm" name="saveForm" class="btTxt submit" 
    type="submit" value="提交"
 /></div>
</li>

<li class="hide">
<label for="comment">Do Not Fill This Out</label>
<textarea name="comment" id="comment" rows="1" cols="1"></textarea>
<input type="hidden" id="idstamp" name="idstamp" value="99XJbo4oW8G1ct0muUrWkIqeGKVHI1DERZjaJS4d/r0=" />
</li>
</ul>
</form> 

</div>
	
	
</div>
<include file="footer" />